package com.ruoyi.footprint.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 足迹记录对象 jy_footprint
 *
 * @author ch
 * @date 2021-11-24
 */
public class Footprint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 足迹人id */
    @Excel(name = "足迹人id")
    private Long memberId;

    /** 足迹类型 */
    @Excel(name = "足迹类型")
    private String footprintType;

    /** 店铺或商品id */
    @Excel(name = "店铺或商品id")
    private Long busId;

    /** 省名称 */
    @Excel(name = "省名称")
    private String provinceName;

    /** 省编码 */
    @Excel(name = "省编码")
    private String provinceCode;

    /** 市名称 */
    @Excel(name = "市名称")
    private String cityName;

    /** 市编码 */
    @Excel(name = "市编码")
    private String cityCode;

    /** 分类id */
    @Excel(name = "分类id")
    private String classifyId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMemberId(Long memberId)
    {
        this.memberId = memberId;
    }

    public Long getMemberId()
    {
        return memberId;
    }
    public void setFootprintType(String footprintType)
    {
        this.footprintType = footprintType;
    }

    public String getFootprintType()
    {
        return footprintType;
    }
    public void setBusId(Long busId)
    {
        this.busId = busId;
    }

    public Long getBusId()
    {
        return busId;
    }
    public void setProvinceName(String provinceName)
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName()
    {
        return provinceName;
    }
    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }
    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }
    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }
    public void setClassifyId(String classifyId)
    {
        this.classifyId = classifyId;
    }

    public String getClassifyId()
    {
        return classifyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("footprintType", getFootprintType())
            .append("busId", getBusId())
            .append("provinceName", getProvinceName())
            .append("provinceCode", getProvinceCode())
            .append("cityName", getCityName())
            .append("cityCode", getCityCode())
            .append("classifyId", getClassifyId())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
